package com.lxmes.device.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 设备列表对象 device_info
 * 
 * @author 张志煜
 * @date 2022-11-29
 */
public class DeviceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType1;

    /** 设备类别 */
    @Excel(name = "设备类别")
    private String deviceType2;

    /** 设备大类 */
    @Excel(name = "设备大类")
    private String deviceTyp3;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String deviceModel;

    /** 设备功率 */
    @Excel(name = "设备功率")
    private String devicePower;

    /** 设备序列码 */
    @Excel(name = "设备序列码")
    private String deviceSeq;

    /** 设备标记 */
    @Excel(name = "设备标记")
    private String deviceIsFlag;

    /** 购置时间 */
    @Excel(name = "购置时间")
    private String purchaseTime;

    /** 资产负责人 */
    @Excel(name = "资产负责人")
    private String chargePerson;

    /** 使用寿命 */
    @Excel(name = "使用寿命")
    private String serviceLife;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    private Long supplyId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyName;

    /** 制造商编码 */
    @Excel(name = "制造商编码")
    private String makerCode;

    /** 制造商名称 */
    @Excel(name = "制造商名称")
    private String makerName;

    /** 使用部门 */
    @Excel(name = "使用部门")
    private Long deptId;

    /** 使用状况 */
    @Excel(name = "使用状况")
    private String useStatus;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String devicePosition;

    /** 设备地址 */
    @Excel(name = "设备地址")
    private String deviceAddress;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ipAddress;

    /** MAC地址 */
    @Excel(name = "MAC地址")
    private String macAddress;

    /** 操作人员 */
    @Excel(name = "操作人员")
    private String operator;

    /** 固定资产编号 */
    @Excel(name = "固定资产编号")
    private String fixedAssetsNo;

    /** 启用时间 */
    @Excel(name = "启用时间")
    private String openingTime;

    /** 设备图片地址 */
    @Excel(name = "设备图片地址")
    private String deviceImg;

    /** 设备二维码地址 */
    @Excel(name = "设备二维码地址")
    private String deviceEwm;

    /** 设备保养周期 */
    @Excel(name = "设备保养周期")
    private BigDecimal maintainCycle1;

    /** 设备维护周期 */
    @Excel(name = "设备维护周期")
    private BigDecimal maintainCycle2;

    /** 设备程序代码 */
    @Excel(name = "设备程序代码")
    private String programCode;

    /** 设备程序包 */
    @Excel(name = "设备程序包")
    private String programPackage;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceType1(String deviceType1) 
    {
        this.deviceType1 = deviceType1;
    }

    public String getDeviceType1() 
    {
        return deviceType1;
    }
    public void setDeviceType2(String deviceType2) 
    {
        this.deviceType2 = deviceType2;
    }

    public String getDeviceType2() 
    {
        return deviceType2;
    }
    public void setDeviceTyp3(String deviceTyp3) 
    {
        this.deviceTyp3 = deviceTyp3;
    }

    public String getDeviceTyp3() 
    {
        return deviceTyp3;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setDevicePower(String devicePower) 
    {
        this.devicePower = devicePower;
    }

    public String getDevicePower() 
    {
        return devicePower;
    }
    public void setDeviceSeq(String deviceSeq) 
    {
        this.deviceSeq = deviceSeq;
    }

    public String getDeviceSeq() 
    {
        return deviceSeq;
    }
    public void setDeviceIsFlag(String deviceIsFlag) 
    {
        this.deviceIsFlag = deviceIsFlag;
    }

    public String getDeviceIsFlag() 
    {
        return deviceIsFlag;
    }
    public void setPurchaseTime(String purchaseTime) 
    {
        this.purchaseTime = purchaseTime;
    }

    public String getPurchaseTime() 
    {
        return purchaseTime;
    }
    public void setChargePerson(String chargePerson) 
    {
        this.chargePerson = chargePerson;
    }

    public String getChargePerson() 
    {
        return chargePerson;
    }
    public void setServiceLife(String serviceLife) 
    {
        this.serviceLife = serviceLife;
    }

    public String getServiceLife() 
    {
        return serviceLife;
    }
    public void setSupplyId(Long supplyId) 
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId() 
    {
        return supplyId;
    }
    public void setSupplyName(String supplyName) 
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName() 
    {
        return supplyName;
    }
    public void setMakerCode(String makerCode) 
    {
        this.makerCode = makerCode;
    }

    public String getMakerCode() 
    {
        return makerCode;
    }
    public void setMakerName(String makerName) 
    {
        this.makerName = makerName;
    }

    public String getMakerName() 
    {
        return makerName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUseStatus(String useStatus) 
    {
        this.useStatus = useStatus;
    }

    public String getUseStatus() 
    {
        return useStatus;
    }
    public void setDevicePosition(String devicePosition) 
    {
        this.devicePosition = devicePosition;
    }

    public String getDevicePosition() 
    {
        return devicePosition;
    }
    public void setDeviceAddress(String deviceAddress) 
    {
        this.deviceAddress = deviceAddress;
    }

    public String getDeviceAddress() 
    {
        return deviceAddress;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }
    public void setMacAddress(String macAddress) 
    {
        this.macAddress = macAddress;
    }

    public String getMacAddress() 
    {
        return macAddress;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setFixedAssetsNo(String fixedAssetsNo) 
    {
        this.fixedAssetsNo = fixedAssetsNo;
    }

    public String getFixedAssetsNo() 
    {
        return fixedAssetsNo;
    }
    public void setOpeningTime(String openingTime) 
    {
        this.openingTime = openingTime;
    }

    public String getOpeningTime() 
    {
        return openingTime;
    }
    public void setDeviceImg(String deviceImg) 
    {
        this.deviceImg = deviceImg;
    }

    public String getDeviceImg() 
    {
        return deviceImg;
    }
    public void setDeviceEwm(String deviceEwm) 
    {
        this.deviceEwm = deviceEwm;
    }

    public String getDeviceEwm() 
    {
        return deviceEwm;
    }
    public void setMaintainCycle1(BigDecimal maintainCycle1) 
    {
        this.maintainCycle1 = maintainCycle1;
    }

    public BigDecimal getMaintainCycle1() 
    {
        return maintainCycle1;
    }
    public void setMaintainCycle2(BigDecimal maintainCycle2) 
    {
        this.maintainCycle2 = maintainCycle2;
    }

    public BigDecimal getMaintainCycle2() 
    {
        return maintainCycle2;
    }
    public void setProgramCode(String programCode) 
    {
        this.programCode = programCode;
    }

    public String getProgramCode() 
    {
        return programCode;
    }
    public void setProgramPackage(String programPackage) 
    {
        this.programPackage = programPackage;
    }

    public String getProgramPackage() 
    {
        return programPackage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("deviceCode", getDeviceCode())
            .append("deviceType1", getDeviceType1())
            .append("deviceType2", getDeviceType2())
            .append("deviceTyp3", getDeviceTyp3())
            .append("deviceName", getDeviceName())
            .append("deviceModel", getDeviceModel())
            .append("devicePower", getDevicePower())
            .append("deviceSeq", getDeviceSeq())
            .append("deviceIsFlag", getDeviceIsFlag())
            .append("purchaseTime", getPurchaseTime())
            .append("chargePerson", getChargePerson())
            .append("serviceLife", getServiceLife())
            .append("supplyId", getSupplyId())
            .append("supplyName", getSupplyName())
            .append("makerCode", getMakerCode())
            .append("makerName", getMakerName())
            .append("deptId", getDeptId())
            .append("useStatus", getUseStatus())
            .append("devicePosition", getDevicePosition())
            .append("deviceAddress", getDeviceAddress())
            .append("ipAddress", getIpAddress())
            .append("macAddress", getMacAddress())
            .append("operator", getOperator())
            .append("fixedAssetsNo", getFixedAssetsNo())
            .append("openingTime", getOpeningTime())
            .append("deviceImg", getDeviceImg())
            .append("deviceEwm", getDeviceEwm())
            .append("maintainCycle1", getMaintainCycle1())
            .append("maintainCycle2", getMaintainCycle2())
            .append("programCode", getProgramCode())
            .append("programPackage", getProgramPackage())
            .toString();
    }
}
